/**
 * 本文件的作用就是直观呈现 整个应用状态结构树 及其 初始值
 */
export default {
  /* 用户 session */
  userData: {
    isLoginSuccess: 'none', // none: 初始； loginSuccess： 登录成功；logout：退出
    errorMessage: '',
    errorCode: '',
    indiToken: '',
    giwsToken: '',  // 内网单点登录
    isRequesting: '',
    userAuthToken: '', // 纪录用户token， 写浏览器localStorage，刷新不退出登录
    loginName: '',
    userInfo: {
         userName: '',
         email: '',
         phone: '',
         mobilePhone: '',
         department: '',
         address: '',
         nativePlace: '',
         inChargeSystem: '',
         group: ''
    },
    userPageTabActiveIndex: 0
  },
  content: {
    topics: [
      {
        topicName: '公告通知',
        topic01: [],
        topics: ''
      },
      {
        topicName: '中心动态',
        topic02: [],
        topics: ''
      },
      {
        topicName: '总行信息',
        topic03: [],
        topics: ''
      },
      {
        topicName: '客户体验',
        topic04: [],
        topics: ''
      },
      {
        topicName: '问答互动',
        topic05: [],
        topics: ''
      },
      {
        topicName: '党政工团',
        topic06: [],
        topics: ''
      }
    ],
    topicList: {
      pageNum: 0,
      pageSize: 0,
      total: 0,
      pages: 0,
      topics: '',
      list: []
    }
  },
  userContent: {
    contentType: [
      {
        typeName: '文章',
        contents: [],
        contentID: '0'
      },
      {
        typeName: '问答',
        contents: [],
        contentID: '1'
      },
      {
        typeName: '收藏',
        contents: [],
        contentID: '2'
      },
      {
        typeName: '点赞',
        contents: [],
        contentID: '3'
      }
    ],
    pageInfo: {
      currentPage: 1,
      totalPageNum: 0,
      pageSize: 0
      // total: 0
      // contentID: ''
      // list: []
    }
  },

  channel: {
    listType: [],
    listTopics: []
  },
  currentContent: {},
  task: {
    taskData: []
  },
  taskShow: {

  },
  banners: {
    list: [
    ]
  }
};
